home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.3)
-
- """ Python Character Mapping Codec generated from 'CP1026.TXT' with gencodec.py.
-
- Written by Marc-Andre Lemburg (mal@lemburg.com).
-
- (c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
- (c) Copyright 2000 Guido van Rossum.
-
- """
- import codecs
-
- class Codec(codecs.Codec):
-
- def encode(self, input, errors = 'strict'):
- return codecs.charmap_encode(input, errors, encoding_map)
-
-
- def decode(self, input, errors = 'strict'):
- return codecs.charmap_decode(input, errors, decoding_map)
-
-
-
- class StreamWriter(Codec, codecs.StreamWriter):
- pass
-
-
- class StreamReader(Codec, codecs.StreamReader):
- pass
-
-
- def getregentry():
- return (Codec().encode, Codec().decode, StreamReader, StreamWriter)
-
- decoding_map = codecs.make_identity_dict(range(256))
- decoding_map.update({
- 4: 156,
- 5: 9,
- 6: 134,
- 7: 127,
- 8: 151,
- 9: 141,
- 10: 142,
- 20: 157,
- 21: 133,
- 22: 8,
- 23: 135,
- 26: 146,
- 27: 143,
- 32: 128,
- 33: 129,
- 34: 130,
- 35: 131,
- 36: 132,
- 37: 10,
- 38: 23,
- 39: 27,
- 40: 136,
- 41: 137,
- 42: 138,
- 43: 139,
- 44: 140,
- 45: 5,
- 46: 6,
- 47: 7,
- 48: 144,
- 49: 145,
- 50: 22,
- 51: 147,
- 52: 148,
- 53: 149,
- 54: 150,
- 55: 4,
- 56: 152,
- 57: 153,
- 58: 154,
- 59: 155,
- 60: 20,
- 61: 21,
- 62: 158,
- 63: 26,
- 64: 32,
- 65: 160,
- 66: 226,
- 67: 228,
- 68: 224,
- 69: 225,
- 70: 227,
- 71: 229,
- 72: 123,
- 73: 241,
- 74: 199,
- 75: 46,
- 76: 60,
- 77: 40,
- 78: 43,
- 79: 33,
- 80: 38,
- 81: 233,
- 82: 234,
- 83: 235,
- 84: 232,
- 85: 237,
- 86: 238,
- 87: 239,
- 88: 236,
- 89: 223,
- 90: 286,
- 91: 304,
- 92: 42,
- 93: 41,
- 94: 59,
- 95: 94,
- 96: 45,
- 97: 47,
- 98: 194,
- 99: 196,
- 100: 192,
- 101: 193,
- 102: 195,
- 103: 197,
- 104: 91,
- 105: 209,
- 106: 351,
- 107: 44,
- 108: 37,
- 109: 95,
- 110: 62,
- 111: 63,
- 112: 248,
- 113: 201,
- 114: 202,
- 115: 203,
- 116: 200,
- 117: 205,
- 118: 206,
- 119: 207,
- 120: 204,
- 121: 305,
- 122: 58,
- 123: 214,
- 124: 350,
- 125: 39,
- 126: 61,
- 127: 220,
- 128: 216,
- 129: 97,
- 130: 98,
- 131: 99,
- 132: 100,
- 133: 101,
- 134: 102,
- 135: 103,
- 136: 104,
- 137: 105,
- 138: 171,
- 139: 187,
- 140: 125,
- 141: 96,
- 142: 166,
- 143: 177,
- 144: 176,
- 145: 106,
- 146: 107,
- 147: 108,
- 148: 109,
- 149: 110,
- 150: 111,
- 151: 112,
- 152: 113,
- 153: 114,
- 154: 170,
- 155: 186,
- 156: 230,
- 157: 184,
- 158: 198,
- 159: 164,
- 160: 181,
- 161: 246,
- 162: 115,
- 163: 116,
- 164: 117,
- 165: 118,
- 166: 119,
- 167: 120,
- 168: 121,
- 169: 122,
- 170: 161,
- 171: 191,
- 172: 93,
- 173: 36,
- 174: 64,
- 175: 174,
- 176: 162,
- 177: 163,
- 178: 165,
- 179: 183,
- 180: 169,
- 181: 167,
- 183: 188,
- 184: 189,
- 185: 190,
- 186: 172,
- 187: 124,
- 188: 175,
- 189: 168,
- 190: 180,
- 191: 215,
- 192: 231,
- 193: 65,
- 194: 66,
- 195: 67,
- 196: 68,
- 197: 69,
- 198: 70,
- 199: 71,
- 200: 72,
- 201: 73,
- 202: 173,
- 203: 244,
- 204: 126,
- 205: 242,
- 206: 243,
- 207: 245,
- 208: 287,
- 209: 74,
- 210: 75,
- 211: 76,
- 212: 77,
- 213: 78,
- 214: 79,
- 215: 80,
- 216: 81,
- 217: 82,
- 218: 185,
- 219: 251,
- 220: 92,
- 221: 249,
- 222: 250,
- 223: 255,
- 224: 252,
- 225: 247,
- 226: 83,
- 227: 84,
- 228: 85,
- 229: 86,
- 230: 87,
- 231: 88,
- 232: 89,
- 233: 90,
- 234: 178,
- 235: 212,
- 236: 35,
- 237: 210,
- 238: 211,
- 239: 213,
- 240: 48,
- 241: 49,
- 242: 50,
- 243: 51,
- 244: 52,
- 245: 53,
- 246: 54,
- 247: 55,
- 248: 56,
- 249: 57,
- 250: 179,
- 251: 219,
- 252: 34,
- 253: 217,
- 254: 218,
- 255: 159 })
- encoding_map = codecs.make_encoding_map(decoding_map)
-